package com.zp.bean.user;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.bean.common.ResultCommonVo;

/**
 * define user java bean for web services return which include User information
 * object or collection of user information
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/2/14
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ResultUserVo extends ResultCommonVo {
	private static final long serialVersionUID = 1L;
	private UserVo userInfo;
	private List<UserVo> listVo;

	public UserVo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserVo userInfo) {
		this.userInfo = userInfo;
	}

	public List<UserVo> getListVo() {
		return listVo;
	}

	public void setListVo(List<UserVo> listVo) {
		this.listVo = listVo;
	}

}
